ComponentOne ASP.NET MVC Controls
DataMap Method (ColumnBaseBuilder<TControl,TBuilder>)

C1.Web.Mvc.Fluent Namespace > ColumnBaseBuilder<TControl,TBuilder> Class : DataMap Method
The builder function.
Configurates C1.Web.Mvc.ColumnBase.DataMap. Sets the DataMap used to convert raw values into display values for the column.
Syntax
'Declaration
 
Public Function DataMap( _
   ByVal build As Action(Of DataMapBuilder) _
) As TBuilder

Parameters

build
The builder function.

Return Value

Current builder.
Remarks
The drop-down buttons are shown only if the column has a DataMap set and is editable. Clicking on the drop-down buttons causes the grid to show a list where users can select the value for the cell.
See Also

Reference

ColumnBaseBuilder<TControl,TBuilder> Class
ColumnBaseBuilder<TControl,TBuilder> Members